package com.codeyourlife.dao;


import java.util.List;

import com.codeyourlife.entity.User;

public interface UserDao {
	public void addUser(User user); 
	
	public void deleteUser(String email);
	public void deleteUser(User user);
	
	public void updateUser(User user);
	
	public User getUser(String email);
	public User findByName(String email);
	public List<User> findAllUser();
	
	public User logincheck(String email, String password);
}